<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Edit</title>
</head>
<body>
    <h1 align="center">修改数据</h1>
    <form action="{:url('student/edits' , ['id' => $datas.id] )}" method="post" >
        <p> 姓名：<input type="text" name="name" value="{$datas['name']}" ></p>
        <p> 性别：<input type="text" name="sex" value="{$datas['sex']}"></p>
        <p> 班级：<input type="text" name="class" value="{$datas['classes']}"></p>
        <p> 年龄：<input type="text" name="age" value="{$datas['age']}"></p>
        <p> <input type="submit" value="添加"> </p>
    </form>
</body>
</html>